package edu.fiu.cis.personalize.server.graph.update;

import edu.fiu.cis.personalize.server.graph.Group;
import edu.fiu.cis.personalize.server.graph.NodeType;
import edu.fiu.cis.personalize.server.graph.Query;

public class QueryGroupUpdate extends GraphUpdate<Query, Group> {

	private GroupQueryUpdate _delegate = new GroupQueryUpdate();

	@Override
	protected double computeWeight(Query q, Group g) {
		return _delegate.computeWeight(g, q);
	}

	@Override
	NodeType type1() {
		return NodeType.QUERY;
	}

	@Override
	NodeType type2() {
		return NodeType.GROUP;
	}

}
